package cn.datastruct.four;

public class LinkedStackNodeDemo {
    public static void main(String[] args) {
        LinkedStackNode ln1 = new LinkedStackNode(4);
        LinkedStackNode ln2 = new LinkedStackNode(5);
        LinkedStackNode ln3 = new LinkedStackNode(6);
        LinkedStack ll = new LinkedStack();
        ll.push(ln1);
        ll.push(ln2);
        ll.push(ln3);

        System.out.println(ll.length());
        ll.showStack();

    }
}
